package com.xxxx.server.mapper;

import com.xxxx.server.pojo.Department;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.springframework.stereotype.Repository;

import java.util.List;

/**
 * <p>
 *  Mapper 接口
 * </p>
 *
 * @author zhoubin
 * @since 2022-04-13
 */
@Repository
public interface DepartmentMapper extends BaseMapper<Department> {

    List<Department> getalldep(Integer i);

    Department adddep(Department department);

    void deletedep(Department dep);
}
